package com.fang.mmy.items.mapper;

import com.fang.mmy.items.entity.ItemRuleDetail;

import java.util.List;

public interface ItemRuleDetailMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ItemRuleDetail record);

    int insertSelective(ItemRuleDetail record);

    ItemRuleDetail selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ItemRuleDetail record);

    int updateByPrimaryKey(ItemRuleDetail record);

    List<ItemRuleDetail> getAllAccountRuleByItemId(Long itemId,int itemRuleCode,String desc);
}